import request from '@/utils/request'

// 查询设备识别记录列表
export function listDeviceIdentifyrecord(query) {
  return request({
    url: '/lgdz/deviceIdentifyrecord/list',
    method: 'get',
    params: query
  })
}

// 查询设备识别记录详细
export function getDeviceIdentifyrecord(id) {
  return request({
    url: '/lgdz/deviceIdentifyrecord/' + id,
    method: 'get'
  })
}

// 新增设备识别记录
export function addDeviceIdentifyrecord(data) {
  return request({
    url: '/lgdz/deviceIdentifyrecord',
    method: 'post',
    data: data
  })
}

// 修改设备识别记录
export function updateDeviceIdentifyrecord(data) {
  return request({
    url: '/lgdz/deviceIdentifyrecord',
    method: 'put',
    data: data
  })
}

// 删除设备识别记录
export function delDeviceIdentifyrecord(id) {
  return request({
    url: '/lgdz/deviceIdentifyrecord/' + id,
    method: 'delete'
  })
}

// 导出设备识别记录
export function exportDeviceIdentifyrecord(query) {
  return request({
    url: '/lgdz/deviceIdentifyrecord/export',
    method: 'get',
    params: query
  })
}